package com.rightsidetech.mall.dto.response;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.rightsidetech.mall.dto.request.CommoditySpecsReq;
import com.rightsidetech.mall.dto.request.DetailSpecsReq;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@JsonIgnoreProperties(value={"specsJson","specsDetailJson","typeId"})
public class BaesInfoDetailResp implements Serializable {

    private Long id;

    @ApiModelProperty("分类名称")
    private String typeName;

    @ApiModelProperty("分类id")
    private List<Long> typeIds;

    @ApiModelProperty("品牌名称")
    private String brandName;

    @ApiModelProperty("品牌id")
    private Long brandId;

    @ApiModelProperty("商品名称")
    private String commodityName;

    @ApiModelProperty("商品编码")
    private String code;

    @ApiModelProperty("商品规格")
    private List<CommoditySpecsReq> specsList;

    @ApiModelProperty("规格明细")
    private List<DetailSpecsReq> detailSpecsList;

    private String specsJson;

    private String specsDetailJson;

    private Long typeId;
}
